#include "Scenes/SceneManager.h"
//#include <vld.h>

int main(int argc, char **argv){
	
	//Create Scene
	//Scene scene("OpenGL", 800, 600);
	
	
	//initialisation
	if(!SceneManager::Instance()->InitialiseWindow())
		return -1;
	if(!SceneManager::Instance()->InitGL())
		return -1;

	//Create Scene
	SceneManager::Instance()->LoadScene("scene");

	//Update
	SceneManager::Instance()->Update();
	
	delete(SceneManager::Instance());

	return 0;

}